//
//  SSValidator.h
//  SSNetworkDemo
//
//  Created by su on 16/6/15.
//  Copyright © 2016年 SS. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "SSError.h"

@protocol SSValidatorDelegate <NSObject>

@required;
- (SSError *) validateField:(NSString *)field value:(id)value;

@end

@interface SSValidator : NSObject<SSValidatorDelegate>

- (SSError *) validateField:(NSString *)field value:(id)value;

@end
